import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

/**
 * @description:
 * @author: jhy
 * @time: 2021/5/7 16:00
 */

//主启动类
public class Provider {

    public static void main(String[] args) throws IOException {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("provider.xml");

        //spring容器启动
        context.start();
        System.in.read();//按任意键退出
    }
}
